package com.gitee.automap.test;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author yicong
 */
@Data
public class Exam {
    @NotNull
    private String title;

    @NotNull
    private String description;

    @NotNull
    private Date createdAt;

    @NotNull
    private Date editedAt;

    @NotNull
    private boolean published;
}
